﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCenter/UserMain.master" AutoEventWireup="true" CodeBehind="Interestuser.aspx.cs" Inherits="Exhibition.UserCenter.Interestuser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script>
        function ShowCompInfo(uid,tt) {
           
            YXQ.Main.OpenDialog("UserDetail.aspx?Id=" + uid+"&v="+new Date(), tt, 700, 200);
        }

        function Attention(uid) {
            YXQ.Main.OpenDialog("UserDetail.aspx?Id="+uid);
        }

    </script> 

    <div class="title">关注我的观众</div>
    <div class="m_conbor">
        <table cellpadding="0" cellspacing="0" border="0" class="gzgztable">
            <tr class="gz_title">
                <td class="td1">
                    <input type="checkbox" /></td>
                <td class="td2"><b>公司名称</b></td>
                <td class="td3"><b>感兴趣的产品</b></td>
                <td class="td4"><b>类型</b></td>
                <td class="td5"><b>级别</b></td> 
                <td class="td7"><b>操作</b></td>
            </tr>
            <asp:Repeater ID="repList" runat="server">
                <ItemTemplate>

             
            <tr>
                <td class="td1">
                    <input type="checkbox" /></td>
                <td><a onclick="ShowCompInfo('<%#Eval("Id") %>','<%#Eval("CompName") %>详情')"><%#Eval("CompName") %></a> <span class="new">new</span></td>
                <td></td>
                <td><%#Eval("UserType") %></td>
               
                <td class="xing">
                    <div id="star<%#Eval("Id") %>"></div><div id="result<%#Eval("Id") %>"></div>  </td>
                <td><a href="javascript:" onclick="Attention('<%#Eval("Id") %>')">[关注]</a></td>

                <script type="text/javascript">
                    $("#result<%#Eval("Id") %>").hide();//将结果DIV隐藏
                    $('#star<%#Eval("Id") %>').raty({
                        hints: ['1', '2', '3', '4', '5'],
                        path: "../images",
                        starOff: 'star-off-big.png',
                        starOn: 'star-on-big.png',
                        size: 24,
                        readOnly:true,
                        target: '#result<%#Eval("Id") %>',
                        score: '<%#Eval("UserLevel") %>' 
                    });

                    
                  
    </script>
            </tr>
                       </ItemTemplate>

            </asp:Repeater>
             
            <tr>
                <td colspan="7" class="dbtd"><a href="#">删除</a></td>
            </tr>
        </table>
        
        <div class="page">
            <ul>
                 <Jdom:AspNetPager ID="pager"  runat="server"></Jdom:AspNetPager>
               <%-- <li>共20页</li>
                <li><a href="#" title="第一页">
                    <img src="../images/page_tu.gif" /></a></li>
                <li><a href="#" title="上一页">
                    <img src="../images/page_tu2.gif" /></a></li>
                <li><a href="#" class="atbm">1</a></li>
                <li><a href="#" class="bm">2</a></li>
                <li><a href="#" class="bm">3</a></li>
                <li><a href="#" class="bm">4</a></li>
                <li><a href="#" class="bm">5</a></li>
                <li><a href="#" class="bm">6</a></li>
                <li><a href="#" class="bm">7</a></li>
                <li><a href="#" class="bm">8</a></li>
                <li><a href="#" class="bm">9</a></li>
                <li><a href="#" title="下一页">
                    <img src="images/page_tu3.gif" /></a></li>
                <li><a href="#" title="最后页">
                    <img src="images/page_tu5.gif" /></a></li>
                <li>到第<input name="" type="text" class="ye" />页</li>
                <li>
                    <input class="sure" name="" value="确定" type="button" /></li>--%>
            </ul>
        </div>
    </div>
</asp:Content>
